package com.fyt.reachgo.test;

public class PieChart implements Chart{
    private String color;
    private int size;

    public PieChart(String color, int size) {
        this.color = color;
        this.size = size;
    }

    @Override
    public void display(String data) {
        System.out.println("显示" + color + "大小："+ size + "，饼图");
    }
}
